package com.zhiyou.app.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author jonathan.z
 * @since 2025-07-07
 */
@Accessors(chain = true)
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("id_order_goods")
public class OrderGoodsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 订单ID
     */
    private Integer goodsId;

    /**
     * 商品code
     */
    private String goodsCode;

    /**
     * 商铺数量
     */
    private Integer goodsCount;

    /**
     * 订单发起人ID
     */
    private Integer userId;

    /**
     * 是否支付 1-支付，0-未支付
     */
    private Integer paid = 0;
}
